<form name="frm_SelEkiname" method="post" onSubmit="return false;" action="{$apm.baseurl}rstobi/rstobi">
<div class="mt10 mb10">
	<p><span class="color02">※10ヵ所まで選択できます。</span></p>
</div>

<div id="select_area02">
<ul>
{foreach from=$Mapping item=v name=tdfkLoop}
	<li><a href="#area{$smarty.foreach.tdfkLoop.iteration}">{$v.TODOUFUKEN_NAME}</a></li>
{/foreach}
</ul>
</div>

{foreach from=$Mapping item=v name=tdfkLoop}
<div class="selectdetailbox" id="area{$smarty.foreach.tdfkLoop.iteration}">
	<div class="mt20"><p class="name">{$v.TODOUFUKEN_NAME}</p></div>
</div>

<div  class="innerBlock01">
{foreach from=$v.EKI_DATA item=eki name=ekiLoop}
	<div  class="innerBlock02">
		{if $smarty.foreach.ekiLoop.last && $eki.ENSEN_DATA|@count <= 3}<div class="section02">{* 駅last 沿線複数行なし *}
		{else}<div class="section01">{/if}
			{if $eki.ENSEN_DATA|@count <= 3}<p class="station02">
			{else}<p class="station01">{/if}
				<input name="StCd[]" type="checkbox" id="StCd{$eki.EKI_CD}" value="{$eki.EKI_CD}" {if $eki.REC_CNT == 0}disabled {/if}/>
				{if $eki.REC_CNT != 0}<a href="javascript:SelEkiname_Link('{$eki.EKI_CD}');">{$eki.EKI_NAME}（{$eki.REC_CNT}件）</a>{else}{$eki.EKI_NAME}（{$eki.REC_CNT}件）{/if}</p>
			{foreach from=$eki.ENSEN_DATA item=ensen name=ensenLoop}
		{if $smarty.foreach.ensenLoop.iteration % 3 == 1}
		{if $smarty.foreach.ensenLoop.first}<ul>
		{elseif $smarty.foreach.ensenLoop.iteration + 3 >= $eki.ENSEN_DATA|@count && $smarty.foreach.ekiLoop.last}<div class="section02 pd"><ul>{* 駅last 沿線複数行あり *}
		{else}<div class="section01 pd"><ul>{/if}{/if}{* 沿線複数行あり *}
				<li>{$ensen.ENSEN_NAME}</li>
		{if $smarty.foreach.ensenLoop.last}</ul>
		{elseif $smarty.foreach.ensenLoop.iteration % 3 == 0}</ul></div><!-- /section -->{/if}
			{/foreach}
		</div><!-- /section -->
	</div><!-- /innerBlock02 -->
{/foreach}
</div><!-- /innerBlock01 -->

<div id="search_render" class="mt20">
	<dl>
		<dt>検索結果表示：</dt>
		<dd>
			<ul>
				<li>
					<label><input name="dispCount" type="radio" id="radio" value="10" checked="checked" />
					10件ずつ</label></li>
				<li>
					<label><input type="radio" name="dispCount" id="radio2" value="20" />
					20件ずつ</label></li>
				<li class="last">
					<label><input type="radio" name="dispCount" id="radio3" value="30" />
					30件ずつ</label></li>
			</ul>
		</dd>
	</dl>
	<p class="btn f_r">
		<input name="imageField" type="image" class="rollImg" id="imageField" src="/common_new/img/btn_search_l.gif" alt="検索" onmouseover="this.src='/common_new/img/btn_search_l_ov.gif'" onmouseout="this.src='/common_new/img/btn_search_l.gif'" onclick="SelEkiname()" />
	</p>
</div>

{/foreach}

<div id="hiddenval">
{$hiddenTag}
</div>
</form>
